import request from "@/api/request";

const url = "/wiki/web"

export function users(query) {
    return request({
        url: `${url}/user/users`,
        method: 'get',
        params: query
    })
}

export function update(ebook) {
    return request.put(`${url}/user`,ebook)
}

export function save(ebook) {
    return request.post(`${url}/user`,ebook)
}

export function remove(ebookId){
    return request.delete(`${url}/user/${ebookId}`)
}

